A security issue was found in Python before version 3.9.5. The ipaddress module accepted leading zeros in IPv4 addresses, which are ambiguous and interpreted as octal notation by some libraries.
A security issue was found in Python before version 3.9.5. The ipaddress module accepted leading zeros in IPv4 addresses, which are ambiguous and interpreted as octal notation by some libraries.
https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html https://bugs.python.org/issue36384 https://github.com/python/cpython/pull/25099 https://github.com/python/cpython/commit/5374fbc31446364bf5f12e5ab88c5493c35eaf04